Contents page

Rules for Tools/struct NoteEvent


struct NoteEvent
The NoteEvent structure maps on an Event structure.

struct NoteEvent {
    struct NoteEvent *next;     /* The next event in the list. */
    long time;                  /* When this event occurs. */
    char type;                  /* What type of event. */
    unsigned char status;       /* MIDI status. */
    unsigned char value;        /* Note value. */
    unsigned char velocity;     /* Note velocity. */
    unsigned short duration;    /* The duration of this event. */
    short data;                 /* Data storage. */
    struct Tool *tool;          /* Tool that processes this next. */ 
};